package main;

import database.DatabaseOperations;
import database.Job;
import database.JobState;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		DatabaseOperations databaseOp = new DatabaseOperations();
		
//		Job job = new Job();
//		job.setDestAddress("destAddress");
//		job.setDestName("destName");
//		job.setExpAdress("expAdress");
//		job.setExpName("expName");
//		job.setJobState(JobState.NOT_ASSIGNED);
//		job.setOrderId(2);
//		job.setTransporterName("transporterName");
//		databaseOp.addJob(job);
//		
//		Job job1 = new Job();
//		job1.setDestAddress("destAddress");
//		job1.setDestName("destName");
//		job1.setExpAdress("expAdress");
//		job1.setExpName("expName");
//		job1.setJobState(JobState.NOT_ASSIGNED);
//		job1.setOrderId(3);
//		job1.setTransporterName("transporterName");
//		databaseOp.addJob(job1);
		
		
		
		databaseOp.getJob(2);
		
		databaseOp.getAllJobs();
	}

}
